package com.nilhcem.fakesmtp.config;

import java.util.List;
import java.util.Map;

public class ResendMailConfig {
    /**
     * true=resend mail, false=don't resend mail
     */
    private boolean enable;

    private String smtpHost;

    private int smtpPort;

    private String userName;

    private String password;

    private List<String> toList;

    private Map<String, List<String>> toMap;

    private String subject;

    private String content;

    public String getSmtpHost() {
        return smtpHost;
    }

    public void setSmtpHost(String smtpHost) {
        this.smtpHost = smtpHost;
    }

    public int getSmtpPort() {
        return smtpPort;
    }

    public void setSmtpPort(int smtpPort) {
        this.smtpPort = smtpPort;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public List<String> getToList() {
        return toList;
    }

    public void setToList(List<String> toList) {
        this.toList = toList;
    }

    public Map<String, List<String>> getToMap() {
        return toMap;
    }

    public void setToMap(Map<String, List<String>> toMap) {
        this.toMap = toMap;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "ResendMailConfig{" +
                "enable=" + enable +
                ", smtpHost='" + smtpHost + '\'' +
                ", smtpPort=" + smtpPort +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", toList=" + toList +
                ", toMap=" + toMap +
                ", subject='" + subject + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
